import os

from flask import Blueprint, render_template, current_app, redirect, url_for, flash, request
from app.extensions import db
from app.models import Post
from app.utils import random_string


# 创建蓝本对象
main = Blueprint('main', __name__)

# 视图函数
@main.route('/')
def index():
    return 'success'
